package com.duoec.demo.rest.dto.response;

import java.io.Serializable;
import java.util.List;

/**
 * 带分页信息的列表
 *
 * @author xuwenzhen
 * @date 2020/2/5
 */
public class PagedListDto<T> implements Serializable {
    /**
     * 结果列表
     */
    private List<T> list;

    /**
     * 总数
     *
     * @demo 100
     */
    private Long total;

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }


}
